import request from '@/utils/request'

// 获取活动投诉列表
export function activityComplainList(query) {
  return request({
    url: '/system/complain/pageList',
    method: 'get',
    params: query,
    loading: true
  })
}

// 恢复访问权限
export function restoreVisitAuth(id) {
  return request({
    url: '/system/complain/restoreVisitAuth/' + id,
    method: 'post'
  })
}
